package router

import "github.com/gin-gonic/gin"

func LoadRouter(r *gin.Engine) {

	router := r.Group("/api")
	{
		userRouter := router.Group("/user")
		{
			UserRouter(userRouter)
		}
		videoRouter := router.Group("/video")
		{
			VideoRouter(videoRouter)
		}
	}
}
